package xyz.coolcsm.security.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.coolcsm.security.entity.Comment;

import java.util.List;
/**
 * @author 什锦
 * @since 2021-06-1
 */
public interface CommentService extends IService<Comment> {

    public void insertComment(String username, Comment commentForm);

    public List<Comment> getCommentByQid(Integer qid);

    public Page<Comment> pageByQid(Integer qid,Integer limit,Integer page,Integer cid);
}
